home *** CD-ROM | disk | FTP | other *** search
- Short: Print user's shell (MultiUser)
- Author: cmccarth@dullahan.rtc-cork.ie (Chris McCarthy)
- Uploader: cmccarth@dullahan.rtc-cork.ie (Chris McCarthy)
- Type: util/batch
-
- This program prints the shell of the owner of the current task (the user
- who runs the getsh program). I find it useful for scripts which need to
- know what the user's shell is, e.g., in my S:Shell-Startup I have the
- following lines.
-
- IF `getsh` EQ "unix:usr/local/bin/csh"
- unix:usr/local/bin/csh
- endcli
- ENDIF
-
- So if the user's prefered shell is csh, it will be ran, rather than the
- standard AmigaShell.
-
- Legal stuff: You are free to use/modify this program for your own needs.
-
- Requirements:
- This program requires MultiUser (© Copyright 1993-1994 by Geert Uytterhoeven).
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 5476 3645 33.4% 17-Mar-96 19:08:34 +getsh
- 1347 724 46.2% 17-Mar-96 19:06:34 +getsh.c
- 643 404 37.1% 17-Mar-96 19:18:06 +getsh.readme
- -------- ------- ----- --------- --------
- 7466 4773 36.0% 21-Mar-96 06:18:42 3 files
-